﻿<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Comment_Add.aspx.vb" Inherits="DesktopModules_NV_News_Display_News_Detail_Comment_Add" %>
<%@ Register TagPrefix="dnn" TagName="TextEditor" Src="/controls/TextEditor.ascx"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Bình luận bài viết</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <table class="border_table1" id="binhluan" runat="server" style="border: 1px solid #b3b3b3; margin-top: 10px; font-family: Tahoma; font-size: 12px; background: #f4f4f4; width:580px; padding: 5px;" align="center">
    <tr>
        <td>
            Họ tên: <asp:TextBox ID="txtFullname" CssClass="ASPortal_News_ShowComT" runat="server"></asp:TextBox><br /><br />
            Email:  &nbsp;&nbsp;<asp:TextBox ID="txtEmail" CssClass="ASPortal_News_ShowComT" runat="server"></asp:TextBox>
        </td>
    </tr>
    
    <tr>
        <td colspan="2">
        Nội dung: (<font style="color:red; font-weight: bold">Bài bình luận KHÔNG DẤU sẽ không được duyệt</font>)<br /><br />
        <asp:TextBox ID="txtContent" Height="140px" Width="560px" ChooseRender="false" ChooseMode="false" runat="server" />
        </td>
    </tr>
    <tr><td colspan="2"></td></tr>
    <tr>
        <td style="padding-left: 10px">
            <asp:Button ID="ibtSend" ValidationGroup="CommentGroup" runat="server" Text="Gửi bình luận" />
            <asp:Literal ID="Literal1" Runat="server" />
            <asp:Button ID="ibtCancel" runat="server" Text="Nhập lại" />
        </td>
        <td>
            <asp:RequiredFieldValidator ValidationGroup="CommentGroup" EnableClientScript="true" id="RequiredFieldValidator1" runat="server" ErrorMessage="RequiredFieldValidator" ControlToValidate="txtContent" Text="Nội dung bình luận không được bỏ trống!"></asp:RequiredFieldValidator>
            <br />
            <asp:RequiredFieldValidator ValidationGroup="CommentGroup" EnableClientScript="true" id="RequiredFieldValidator2" runat="server" ErrorMessage="RequiredFieldValidator" ControlToValidate="txtFullname" Text="Bạn phải nhập đầy đủ Họ Tên"></asp:RequiredFieldValidator>
            <br />
            <asp:RegularExpressionValidator ValidationGroup="CommentGroup" ID="regexEmailValid" runat="server" ValidationExpression="\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*" ControlToValidate="txtEmail" ErrorMessage="Địa chỉ email không đúng!"></asp:RegularExpressionValidator>
        </td>
    </tr>
    <tr><td colspan="2"></td></tr>
</table>
<br /><center><asp:Label id="lbResult" runat="server"></asp:Label></center>
    </div>
    </form>
</body>
</html>
